package com.macro.mall.dao.pms;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.macro.mall.model.pms.PmsProductDO;
import com.macro.mall.model.pms.PmsProductQuery;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface PmsProductMapper  extends BaseMapper<PmsProductDO> {
    long countByExample(PmsProductQuery example);

    int deleteByExample(PmsProductQuery example);

    int deleteByPrimaryKey(Long id);

    int insert(PmsProductDO record);

    int insertSelective(PmsProductDO record);

    List<PmsProductDO> selectByExampleWithBLOBs(PmsProductQuery example);

    List<PmsProductDO> selectByExample(PmsProductQuery example);

    PmsProductDO selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PmsProductDO record, @Param("example") PmsProductQuery example);

    int updateByExampleWithBLOBs(@Param("record") PmsProductDO record, @Param("example") PmsProductQuery example);

    int updateByExample(@Param("record") PmsProductDO record, @Param("example") PmsProductQuery example);

    int updateByPrimaryKeySelective(PmsProductDO record);

    int updateByPrimaryKeyWithBLOBs(PmsProductDO record);

    int updateByPrimaryKey(PmsProductDO record);
}
